package com.easy.service;

import com.easy.bean.CommentBean;
import java.util.List;

public interface CommentService {
    CommentBean add(CommentBean com);
    int del(Integer id);
    List<CommentBean> all(CommentBean com);  // 修改返回类型为List
    int countByPostId(CommentBean com);     // 修改返回类型为int
}